package com.floreo.shopping.model;

/**
 * @author merzod
 */
public class ShoppingItem {
    private Product product;
    private Quantity quantity;

    public ShoppingItem(Product product) {
        this(product, null);
    }

    public ShoppingItem(Product product, Quantity quantity) {
        this.product = product;
        this.quantity = quantity;
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public Quantity getQuantity() {
        return quantity;
    }

    public void setQuantity(Quantity quantity) {
        this.quantity = quantity;
    }
}
